<!DOCTYPE html>
<html>

<head>

    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="Access-Control-Allow-Origin" content="*" />

    <title></title>
    <meta name="keywords" content="">
    <meta name="description" content="">
    <link rel="shortcut icon" href="favicon.ico">
    <link href="../../css/bootstrap.min.css?v=3.3.6" rel="stylesheet">
    <link href="../../css/font-awesome.css?v=4.4.0" rel="stylesheet">
    <link href="../../css/style.css?v=4.1.0" rel="stylesheet">
    <link href="../../css/view/global.css" rel="stylesheet">
    <link href="../../css/plugins/summernote/summernote.css" rel="stylesheet">
    <link href="../../css/plugins/summernote/summernote-bs3.css" rel="stylesheet">
    <!--<link href="../../css/view/template.css" rel="stylesheet">-->
    <link rel="stylesheet" href="../../css/view/community/community-service.css">
    <link rel="stylesheet" href="../../css/view/community/community-health.css">
    <link rel="stylesheet" href="../../css/view/main/orderList.css">
</head>

<body class="white-bg">
<div class="container-box">
    <div class="page-title">
        <div class="blue-bg-circle themeBgColor"></div>
        <div class="title">社区健康</div>
    </div>

    <div class="banner-manager">
        <div class="second-title">
            <div class="border-left themeBgColor"></div>
            <div class="text">Banner轮播图管理</div>
        </div>
        <div class="banner-box" id="banner-box">
           轮播图显示区域
        </div>
    </div>

    <!--选项卡切换-->
    <div id="nav-box">
        <ul id="nav-list">
            <li class="nav-item active">健康商城</li>
            <li class="nav-item " style="margin-left: 35px;">健康资料</li>
            <li class="nav-item " style="margin-left: 35px;">健康讲堂</li>
            <li class="nav-item " style="margin-left: 35px;">健康咨询</li>
        </ul>
    </div>

    <!--健康商城-->
    <div class="item-box">
        <div class="item-banner-box">
            <div class="third-title">
                <div class="border-left themeBgColor"></div>
                <div class="text">轮播图管理</div>
            </div>
            <div class="banner-box" id="banner-item-box">
                <!--轮播图显示区域-->
            </div>
        </div>
        <div class="item-class-box">
            <div class="third-title">
                <div class="border-left themeBgColor"></div>
                <div class="text">分类</div>
            </div>
            <div class="class-box" id="homemakingClass">
                分类
            </div>
        </div>
        <div class="item-business-box">
            <div class="third-title">
                <div class="border-left themeBgColor"></div>
                <div class="text">商家</div>
            </div>
            <div class="add-business themeColor" data-toggle="modal" data-target="#BusinessModal">
                添加商户
            </div>
            <div class="line"></div>
            <div class="business-list">
                <div class="border-left themeBgColor"></div>
                <div class="four-title">商家列表</div>
            </div>
            <div class="table-box">
                <table class="table table-striped">
                    <thead class="themeBgColor">
                        <tr>
                            <th>商家图片</th>
                            <th>商家名称</th>
                            <th>商家电话</th>
                            <th>商家地址</th>
                            <th>操作</th>
                        </tr>
                    </thead>
                    <tbody id="homemaking-business">

                    </tbody>
                </table>
                <div id="page" class="page_div"></div>
            </div>
            <div id="ordersListTable" style="display: none;margin-top: 50px;">
                <div class="business-list">
                    <div class="border-left themeBgColor"></div>
                    <div class="four-title" id="shopTxt"></div>
                </div>
                <div class="table-box">
                    <table class="table table-striped">
                        <thead class="themeBgColor">
                            <tr>
                                <th>买家姓名</th>
                                <th>联系方式</th>
                                <th>订单编号</th>
                                <th>交易时间</th>
                                <th>交易金额（元）</th>
                                <th>状态</th>
                                <th>操作</th>
                            </tr>
                        </thead>
                        <tbody id="ordersList">
    
                        </tbody>
                    </table>
                    <div id="page3" class="page_div"></div>
                </div>
            </div>
        </div>
    </div>

    <!--健康资料-->
    <div class="item-box" style="display: none;">
        <div class="third-title">
            <div class="border-left themeBgColor"></div>
            <div class="text">健康资料</div>
        </div>
        
        <div class="add-business themeColor" data-toggle="modal" data-target="#EducationModal" data-type="1">
            添加文章视频
        </div>

        <div class="business-list">
            <div class="border-left themeBgColor"></div>
            <div class="four-title">文章列表</div>
        </div>
        <div class="table-box">
            <table class="table table-striped">
                <thead class="themeBgColor">
                    <tr>
                        <th>名称</th>
                        <th>发表时间</th>
                        <th>作者</th>
                        <th>类型</th>
                        <th>操作</th>
                    </tr>
                </thead>
                <tbody id="Education-List">

                </tbody>
            </table>
            <div id="page2" class="page_div"></div>
        </div>
    </div>

    <!--健康讲堂-->
    <div class="item-box" style="display: none;">
        <div class="third-title">
            <div class="border-left themeBgColor"></div>
            <div class="text">健康讲堂</div>
        </div>
        
        <div class="add-business themeColor" data-toggle="modal" data-target="#lectureModal" data-type="1">
            添加讲堂视频
        </div>

        <div class="business-list">
            <div class="border-left themeBgColor"></div>
            <div class="four-title">文章列表</div>
        </div>
        <div class="table-box">
            <table class="table table-striped">
                <thead class="themeBgColor">
                    <tr>
                        <th>名称</th>
                        <th>发表时间</th>
                        <th>作者</th>
                        <th>操作</th>
                    </tr>
                </thead>
                <tbody id="lecture-List">

                </tbody>
            </table>
            <div id="page4" class="page_div"></div>
        </div>
    </div>


    <!--健康咨询-->
    <div class="item-box" style="display: none;">
        <div class="item-banner-box">
            <div class="third-title">
                <div class="border-left themeBgColor"></div>
                <div class="text">轮播图管理</div>
            </div>
            <div class="banner-box" id="banner-consult-item-box">
                <!--轮播图显示区域-->
            </div>
        </div>
        <div class="item-class-box">
            <div class="third-title">
                <div class="border-left themeBgColor"></div>
                <div class="text">分类</div>
            </div>
            <div class="class-box" id="consultClass">
            </div>
        </div>
        <div class="item-class-box">
            <div class="third-title">
                <div class="border-left themeBgColor"></div>
                <div class="text">门店电话</div>
            </div>
            <div class="phoneAre">
                <input type="number" class="form-control" maxlength="11" placeholder="请输入门店电话" id="shopMainPhone">
                <div id="phoneBtn" class="themeColor">确认</div>
            </div>
        </div>
        <div class="item-business-box">
            <div class="third-title">
                <div class="border-left themeBgColor"></div>
                <div class="text">健康管理</div>
            </div>
            <div class="add-business themeColor" data-toggle="modal" data-target="#consultModal" data-type="1">
                添加健康管理师
            </div>
            <div class="line"></div>
            <div class="business-list">
                <div class="border-left themeBgColor"></div>
                <div class="four-title">健康管理师列表</div>
            </div>
            <div class="screen">
                <div class="class-screen">
                    <label for="consult-class-sel">服务类别：</label>
                    <select class="form-control class-items"  id="consult-class-sel">
                        <!--类别-->
                    </select>
                </div>
                <div class="search">
                    <div id="consult-search" class="search-btn">搜索</div>
                    <input type="text" class="search-box" placeholder="输入健康管理师名称搜索">
                </div>
            </div>
            <div class="table-box">
                <table class="table table-striped">
                    <thead class="themeBgColor">
                        <tr>
                            <th>健康管理师头像</th>
                            <th>健康管理师名称</th>
                            <th>健康管理师电话</th>                            
                            <th>所属类别</th>
                            <th>擅长领域</th>
                            <th>简介</th>
                            <th>操作</th>
                        </tr>
                    </thead>
                    <tbody id="consultList">

                    </tbody>
                </table>
                <div id="page3" class="page_div"></div>
            </div>
            
        </div>
    </div>

</div>













<!-- Modal Add mainBanner -->
<div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
    <div class="modal-dialog" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                <h4 class="modal-title" id="myModalLabel">添加</h4>
            </div>
            <div class="modal-body">
                <div class="add-banner-btn">
                    <input type="file" accept="image/*" class="file-input" id="fileInput">
                    <input type="hidden" id="imgUrl">
                    <input type="hidden" id="bannerId">
                    <div class="select-img themeBgColor">选择图片</div>
                </div>
                <div class="themeColor">(建议图片尺寸为：690px * 260px)</div>
                <div class="preview-img" id="fileImage">
                    <div>图片预览</div>
                </div>
                <div class="selectAre">
                    <label for="banner_status">跳转链接：</label>
                    <select class="g_select themeBorder" id="banner_status">
                        <!--类别-->
                        <option value="-1">请选择</option>
                        <option value="1">健康商城</option>
                        <option value="2">健康咨询</option>
                        <option value="3">健康数据</option>
                        <option value="4">健康教育</option>
                    </select>
                </div>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
                <button type="button" class="btn themeBgColor" id="uploadBannerImg" data-type="">确认</button>
            </div>
        </div>
    </div>
</div>
<!-- Modal Add homemakingBanner-->
<div class="modal fade" id="homemakingBannerModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
    <div class="modal-dialog" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                <h4 class="modal-title" id="homingmakingModalLabel">添加</h4>
            </div>
            <div class="modal-body">
                <div class="add-banner-btn">
                    <input type="file" accept="image/*" class="file-input" id="homemakingInput">
                    <input type="hidden" id="homemakingImgUrl">
                    <input type="hidden" id="homemakingBannerId">
                    <div class="select-img themeBgColor">选择图片</div>
                </div>
                <div class="themeColor">(建议图片尺寸为：690px * 300px)</div>
                <div class="preview-img" id="homemakingImage">
                    <div>图片预览</div>
                </div>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
                <button type="button" class="btn themeBgColor" id="uploadHomemakingBannerImg" data-type="">确认</button>
            </div>
        </div>
    </div>
</div>

<!-- Modal Add Class-->
<div class="modal fade" id="classModal" tabindex="-1" role="dialog" aria-labelledby="classModalLabel">
    <div class="modal-dialog" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                <h4 class="modal-title" id="classModalLabel">添加新类别</h4>
            </div>
            <div class="modal-body">
                <div class="form-group">
                    <label for="className">类别名称：</label>
                    <input type="text" class="form-control" id="className" placeholder="请输入类别名称">
                    <input type="hidden" id="classItemId">
                </div>
                <!-- <div class="add-banner-btn" style="margin-top: 20px">
                    <input type="file" accept="image/*" class="file-input" id="classInput">
                    <input type="hidden" id="classImgUrl">
                    <input type="hidden" id="classItemId">
                    <div class="select-img themeBgColor">选择图标</div>
                </div>
                <div class="preview-class-img" id="classImage">
                    <div>图片预览</div>
                </div> -->
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
                <button type="button" class="btn themeBgColor" id="uploadClassImg" data-type="">确认</button>
            </div>
        </div>
    </div>
</div>

<!-- Modal Add Business-->
<div class="modal fade" id="BusinessModal" tabindex="-1" role="dialog" aria-labelledby="classModalLabel">
    <div class="modal-dialog" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                <h4 class="modal-title">添加新商户</h4>
            </div>
            <div class="modal-body" style="overflow-y:scroll;">
                <div class="form-group">
                    <label for="className">商家名称：</label>
                    <input type="text" class="form-control"  placeholder="请输入商家名称" id="shopName">
                </div>
                <div class="form-group">
                    <label for="className">商家电话：</label>
                    <input type="number" class="form-control"  placeholder="请输入商家电话" id="shopPhone" maxlength="11">
                </div>
                <div class="form-group">
                    <label for="className">账号：</label>
                    <input type="text" class="form-control"  placeholder="请设置商户登录账号" id="account">
                </div>
                <div class="form-group">
                    <label for="className">密码：</label>
                    <input type="text" class="form-control"  placeholder="请设置商户登录密码" id="password">
                </div>
                <div class="form-group">
                    <label for="className">区代抽成（%）：</label>
                    <input type="number" class="form-control"  placeholder="请设置区代抽成" id="rebate">
                </div>
                <div class="form-group">
                    <label for="className">市代抽成（%）：</label>
                    <input type="number" class="form-control"  placeholder="请设置市代抽成" id="rebate2">
                </div>
                <div class="form-group">
                    <label for="className">公司抽成（%）：</label>
                    <input type="number" class="form-control"  placeholder="请设置公司抽成" id="rebate3">
                </div>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
                <button type="button" class="btn themeBgColor" id="addShop" data-type="">确认</button>
            </div>
        </div>
    </div>
</div>

<!-- Modal Add BusinessInfoModal-->
<div class="modal fade" id="BusinessInfoModal" tabindex="-1" role="dialog" aria-labelledby="classModalLabel">
    <div class="modal-dialog" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                <h4 class="modal-title">查看商户信息</h4>
            </div>
            <div class="modal-body" style="height:500px;overflow-y:scroll;">
                    <div class="form-group">
                        <label for="className">商家名称：</label>
                        <input type="text" class="form-control"  placeholder="请输入商家名称" id="shopName-show" disabled="disabled">
                    </div>
                    <div class="form-group">
                        <label for="className">账号：</label>
                        <input type="text" class="form-control"  placeholder="请输入账号" id="account-show" disabled="disabled">
                    </div>
                    <div class="form-group">
                        <label for="className">区代抽成（%）：</label>
                        <input type="number" class="form-control"  placeholder="请设置返利" id="rebate-show" disabled="disabled">
                    </div>
                    <div class="form-group">
                        <label for="className">市代代抽成（%）：</label>
                        <input type="number" class="form-control"  placeholder="请设置返利" id="rebate-show2" disabled="disabled">
                    </div>
                    <div class="form-group">
                        <label for="className">公司抽成（%）：</label>
                        <input type="number" class="form-control"  placeholder="请设置返利" id="rebate-show3" disabled="disabled">
                    </div>
                    <div class="form-group">
                        <label for="className">商家电话：</label>
                        <input type="number" class="form-control"  placeholder="请输入商家电话" id="shopPhone-show" maxlength="11" disabled="disabled">
                    </div>
                    <div class="form-group">
                        <label for="className">所在城市：</label>
                        <input type="text" class="form-control"  placeholder="请输入商家所在城市" id="city" disabled="disabled">
                    </div>
                    <!-- <div class="searchAre">
                        <div>省：</div>
                        <select class="form-control"  id="province" disabled="disabled" disabled="disabled">
                            <option value="-1">请选择</option>
                        </select>
                        <div class="cityTxt" style="display: none">市：</div>
                        <select class="form-control"  id="city" style="display: none" disabled="disabled">
                            <option value="-1">请选择</option>
                        </select>
                    </div> -->
                    <div class="form-group">
                        <label for="className">商家地址：</label>
                        <input type="text" class="form-control"  placeholder="请输入商家地址" id="shopAddress" disabled="disabled">
                        <input type="hidden" id="shop-address-lat">
                        <input type="hidden" id="shop-address-lng">
                    </div>
                    <div class="preview-class-img" id="shop-img-show">
                        <div>图片预览</div>
                    </div>
                    <div class="form-group" style="margin-top: 20px">
                        <label for="className">商家简介：</label>
                        <textarea  class="form-control textarea-style"  placeholder="请输入商家简介" id="shopDesc" disabled="disabled"></textarea>
                    </div>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn themeBgColor" data-dismiss="modal">确认</button>
            </div>
        </div>
    </div>
</div>

<!-- Modal Add BusinessResetModal-->
<div class="modal fade" id="BusinessResetModal" tabindex="-1" role="dialog" aria-labelledby="classModalLabel">
    <div class="modal-dialog" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                <h4 class="modal-title">重置密码</h4>
            </div>
            <div class="modal-body" style="height:200px;overflow-y:scroll;">
                <div class="form-group">
                    <label for="className">账号：</label>
                    <input type="hidden" id="businessId">
                    <input type="text" class="form-control"  placeholder="请输入账号" id="account-reset" disabled="disabled">
                </div>
                <div class="form-group">
                    <label for="className">密码：</label>
                    <input type="text" class="form-control"  placeholder="请输入密码" id="password-reset">
                </div>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
                <button type="button" class="btn themeBgColor" id="resetShop" data-type="">确认</button>
            </div>
        </div>
    </div>
</div>

<!-- Modal Add orders-->
<div class="modal fade" id="OrdersModal" tabindex="-1" role="dialog" aria-labelledby="classModalLabel">
    <div class="modal-dialog" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                <h4 class="modal-title" id="businessModalLabel">订单详情</h4>
            </div>
            <div class="modal-body" style="overflow-y:scroll;">
                <div class="mainAre">
                    <div class="titleTxt"></div>
                    <div class="shopMainAre">
                        
                    </div>
                </div>
                <div class="mainAre" style="margin-top: 30px;">
                    <div class="titleTxt">订单状态：</div>
                    <div class="mainItemAre">
                        <div class="mainItem">
                            <div>数量：</div>
                            <div class="item number"></div>
                        </div>
                        <div class="mainItem">
                            <div>金额：</div>
                            <div class="item price"></div>
                        </div>
                        <div class="mainItem">
                            <div>买家姓名：</div>
                            <div class="item name"></div>
                        </div>
                        <div class="mainItem">
                            <div>买家电话：</div>
                            <div class="item phone"></div>
                        </div>
                        <div class="mainItem">
                            <div>收货地址：</div>
                            <div class="item address"></div>
                        </div>
                        <div class="mainItem">
                            <div>订单编号：</div>
                            <div class="item orderNum"></div>
                        </div>
                        <div class="mainItem">
                            <div>订单时间：</div>
                            <div class="item orderDate"></div>
                        </div>
                        <div class="mainItem">
                            <div>订单状态：</div>
                            <div class="item orderStatus"></div>
                        </div>
                    </div>
                </div>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-default" data-dismiss="modal">确定</button>
            </div>
        </div>
    </div>
</div>
    
<!-- Modal Add Education-->
<div class="modal fade" id="EducationModal" tabindex="-1" role="dialog" aria-labelledby="classModalLabel">
    <div class="modal-dialog" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                <h4 class="modal-title" id="educationTxt">添加内容</h4>
            </div>
            <div class="modal-body" style="height:500px;overflow-y:scroll;">
                <div class="switchBtnAre">
                    <text>请选择您要上传的内容：</text>
                    <div class="switchBtn" data-type="article">
                        <div class="round" ></div>
                        <text>文章</text>
                    </div>
                    <div class="switchBtn" data-type="video">
                        <div class="round"></div>
                        <text>视频</text>
                    </div>
                </div>
                <div class="form-group">
                    <label for="className">标题</label>
                    <input type="text" class="form-control"  placeholder="请输入标题" id="title">
                </div>
                <div class="form-group">
                    <label for="className">作者</label>
                    <input type="text" class="form-control"  placeholder="请输入作者" id="author">
                </div>
                <div id="educationImgAre">
                    <div class="add-banner-btn" style="margin-top: 20px">
                        <input type="file" accept="image/*" class="file-input" multiple="multiple" id="content-img-select">
                        <input type="hidden" id="upType">
                        <input type="hidden" id="educationId">
                        <div class="select-img themeBgColor">选择文章缩略图</div>
                        <div class="btn themeBgColor upload-content-img" id="upload-content-img">
                            图片上传
                        </div>
                    </div>
                    <div class="themeColor">(建议图片尺寸为：110px * 80px;&nbsp&nbsp建议上传图片最多三张)</div>
                    <div class="preview-content-img" id="content-img-show">
                        <div class="old"></div>
                        <div class="new"></div>
                    </div>
                </div>
                <div class="form-group" id="videoAre">
                    <label for="className">视频链接&nbsp&nbsp&nbsp&nbsp<span style="color: #b2b2b2">(只限上传路径，例如：http://weixin.fat.zgts99.com/alasun.mp4)</span></label>
                    <input type="text" class="form-control" placeholder="请输入视频路径" id="video">
                </div>
                <div id="summernote">
                    <div class="summernote">
                            
                    </div>
                </div>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
                <button type="button" class="btn themeBgColor" id="educationBtn" >提交</button>
            </div>
        </div>
    </div>
</div>


<!-- Modal Add lectureModal-->
<div class="modal fade" id="lectureModal" tabindex="-1" role="dialog" aria-labelledby="classModalLabel">
    <div class="modal-dialog" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                <h4 class="modal-title" id="lectureTxt">添加内容</h4>
            </div>
            <div class="modal-body" style="height:500px;overflow-y:scroll;">
                <div class="form-group">
                    <label for="className">标题</label>
                    <input type="text" class="form-control"  placeholder="请输入标题" id="title2">
                </div>
                <div class="form-group">
                    <label for="className">作者</label>
                    <input type="text" class="form-control"  placeholder="请输入作者" id="author2">
                </div>
                <div class="form-group" id="videoAre">
                    <label for="className">视频链接&nbsp&nbsp&nbsp&nbsp<span style="color: #b2b2b2">(只限上传路径，例如：http://weixin.fat.zgts99.com/alasun.mp4)</span></label>
                    <input type="text" class="form-control" placeholder="请输入视频路径" id="video2">
                    <input type="hidden" id="lectureUpType">
                    <input type="hidden" id="lectureId">
                </div>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
                <button type="button" class="btn themeBgColor" id="lectureBtn" >提交</button>
            </div>
        </div>
    </div>
</div>


<!-- Modal Add consultBannerModal-->
<div class="modal fade" id="consultBannerModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
    <div class="modal-dialog" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                <h4 class="modal-title" id="consultModalLabel">添加</h4>
            </div>
            <div class="modal-body">
                <div class="add-banner-btn">
                    <input type="file" accept="image/*" class="file-input" id="consultInput">
                    <input type="hidden" id="consultImgUrl">
                    <input type="hidden" id="consultBannerId">
                    <div class="select-img themeBgColor">选择图片</div>
                </div>
                <div class="themeColor">(建议图片尺寸为：690px * 300px)</div>
                <div class="preview-img" id="consultImage">
                    <div>图片预览</div>
                </div>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
                <button type="button" class="btn themeBgColor" id="uploadConsultBannerImg" data-type="">确认</button>
            </div>
        </div>
    </div>
</div>

<!-- Modal Add consultClassModal-->
<div class="modal fade" id="consultClassModal" tabindex="-1" role="dialog" aria-labelledby="classModalLabel">
    <div class="modal-dialog" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                <h4 class="modal-title" id="consultClassModalLabel">添加新类别</h4>
            </div>
            <div class="modal-body">
                <div class="form-group">
                    <label for="className">类别名称：</label>
                    <input type="text" class="form-control" id="consultClassName" placeholder="请输入类别名称">
                    <input type="hidden" id="consultClassItemId">
                </div>
                <!-- <div class="add-banner-btn" style="margin-top: 20px">
                    <input type="file" accept="image/*" class="file-input" id="classInput">
                    <input type="hidden" id="classImgUrl">
                    <input type="hidden" id="classItemId">
                    <div class="select-img themeBgColor">选择图标</div>
                </div>
                <div class="preview-class-img" id="classImage">
                    <div>图片预览</div>
                </div> -->
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
                <button type="button" class="btn themeBgColor" id="uploadConsultClassImg" data-type="">确认</button>
            </div>
        </div>
    </div>
</div>

<!-- Modal Add consultModal-->
<div class="modal fade" id="consultModal" tabindex="-1" role="dialog" aria-labelledby="classModalLabel">
    <div class="modal-dialog" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                <h4 class="modal-title" id="consultModalLabel">添加新健康管理师</h4>
            </div>
            <div class="modal-body" style="height:500px;overflow-y:scroll;">
                <div class="form-group">
                    <label for="className">健康管理师名称：</label>
                    <input type="text" class="form-control"  placeholder="请输入健康管理师名称" id="consultName">
                </div>
                <div class="form-group">
                    <label for="className">健康管理师电话：</label>
                    <input type="number" class="form-control"  placeholder="请输入健康管理师电话" id="consultPhone" maxlength="11">
                </div>
                <div class="add-banner-btn" style="margin-top: 20px">
                    <input type="file" accept="image/*" class="file-input" id="consult-img-select">
                    <input type="hidden" id="consult-img-url">
                    <input type="hidden" id="consultId">
                    <input type="hidden" id="consultUpType">
                    <div class="select-img themeBgColor">选择健康管理师头像</div>
                </div>
                <div class="preview-class-img2" id="consult-img-show">
                    <div>图片预览</div>
                </div>
                <div class="form-group" style="margin-top: 20px">
                    <label for="className">健康管理师简介：</label>
                    <textarea  class="form-control textarea-style"  placeholder="请输入健康管理师简介" id="consultDesc"></textarea>
                </div>
                <div class="form-group">
                    <label for="className">擅长领域：</label>
                    <textarea  class="form-control textarea-style"  placeholder="请输入健康管理师擅长领域" id="consultField"></textarea>
                </div>
                <div>
                    <label >选择分类：</label>
                    <div class="add-class-box" id="add-consult-class-box">
                        
                    </div>
                </div>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
                <button type="button" class="btn themeBgColor" id="addConsult" data-type="">确认</button>
            </div>
        </div>
    </div>
</div>


<!-- 全局js -->
<script src="../../js/jquery.min.js?v=2.1.4"></script>
<script src="../../js/bootstrap.min.js?v=3.3.6"></script>
<script src="../../js/plugins/jeditable/jquery.jeditable.js"></script>

<!--paging-->
<script src="../../js/my-js/paging.js"></script>
<!-- SUMMERNOTE -->
<script src="../../js/plugins/summernote/summernote.min.js"></script>
<script src="../../js/plugins/summernote/summernote-zh-CN.js"></script>

<script src="../../js/my-js/provinceList.js"></script>
<!-- 自定义js -->
<script src="../../js/my-js/global.js"></script>
<script src="../../js/view/community/community-health.js"></script>
</body>

</html>
